package com.ruoyi.luck.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * reward对象 luc_mark_reward
 *
 * @author ruoyi
 * @date 2023-01-29
 */
@TableName("luc_mark_reward")
public class LucMarkReward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    @TableField("p_name")
    private String pName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("g_id")
    private Long gId;

    /** 获奖可能性 */
    @Excel(name = "获奖可能性")
    @TableField("probability")
    private Long probability;

    /** 图片url */
    @Excel(name = "图片url")
    @TableField("img_url")
    private String imgUrl;

    /** 营销奖励id */
    @Excel(name = "营销奖励id")
    @TableField("m_id")
    private String mId;

    /** 营销奖励金额 */
    @Excel(name = "营销奖励金额")
    @TableField("money")
    private Long money;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setpName(String pName)
    {
        this.pName = pName;
    }

    public String getpName()
    {
        return pName;
    }
    public void setgId(Long gId)
    {
        this.gId = gId;
    }

    public Long getgId()
    {
        return gId;
    }
    public void setProbability(Long probability)
    {
        this.probability = probability;
    }

    public Long getProbability()
    {
        return probability;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setmId(String mId)
    {
        this.mId = mId;
    }

    public String getmId()
    {
        return mId;
    }
    public void setMoney(Long money)
    {
        this.money = money;
    }

    public Long getMoney()
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pName", getpName())
            .append("gId", getgId())
            .append("probability", getProbability())
            .append("imgUrl", getImgUrl())
            .append("mId", getmId())
            .append("money", getMoney())
            .toString();
    }
}
